
export default {

  namespace: 'vtxTab',

  state: {
    tabData:[{
      title:'tab1',
      key:'1',
      content:'tab1'
    },
    {
      title:'tab2',
      key:'2',
      content:'tab2'
    }
    ],
    tabIconData:[{
      title:'tab1',
      icon:'apple',
      key:'1',
      content:'tab1'
    },
    {
      title:'tab2',
      icon:'android',
      key:'2',
      content:'tab2'
    }
    ],
    moreTabData:[
    {
      title:'tab1',
      key:'1',
      content:'tab1'
    },
    {
      title:'tab2',
      key:'2',
      content:'tab2'
    },
    {
      title:'tab3',
      key:'3',
      content:'tab3'
    },
    {
      title:'tab4',
      key:'4',
      content:'tab4'
    },
    {
      title:'tab5',
      key:'5',
      content:'tab5'
    },
    {
      title:'tab6',
      key:'6',
      content:'tab6'
    },
    {
      title:'tab7',
      key:'7',
      content:'tab7'
    },
    {
      title:'tab8',
      key:'8',
      content:'tab8'
    },
    {
      title:'tab9',
      key:'9',
      content:'tab9'
    },
    {
      title:'tab10',
      key:'10',
      content:'tab10'
    }
    ],
    closeTabData:[
    {
      title:'tab1',
      key:'1',
      content:'tab1',
      closable:false//禁止删除
    },
    {
      title:'tab2',
      key:'2',
      content:'tab2'
    }
    ],
    tabPosition:'left',//tab方向
    type:'line',//tab外部样式
    activeKey:'1',
    loading:false,//loading
  },

  subscriptions: {
    setup({ dispatch, history }) {
    },
  },

  effects: {
    *fetchRemote({ payload }, { call, put }) {
    },
  },

  reducers: {
    fetch(state, action) {
      return { ...state, ...action.payload };
    },
  },

}
